<!DOCTYPE html>
<html lang="zh-cmn-Hans">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
    <title>万图拍成功率</title>
    <link rel="stylesheet" href="/static/weui/css/weui.min.css" />
    <style>
        .weui-form-preview__label {
            color: #666 !important;
            min-width: 1em;
        }
        .success {
            color: #07c160;
        }
        .fail {
            color: #fa5151;
        }
        .weui-form-preview__hd {
            padding: 12px;
            line-height: 1em;
        }
    </style>
</head>

<body ontouchstart style="max-width: 380px; margin: 0 auto; background-color: #f2f2f2;">
    <div class="container" id="container">
        <div class="page">
            <div class="page__bd" style="margin-top: 24px;">
                <div class="weui-form-preview">
                    <div role="option" class="weui-form-preview__hd">
                        <div class="weui-form-preview__item">
                            <label class="weui-form-preview__label">快充维护状态</label>
                        </div>
                    </div>
                    <div role="option" aria-labelledby="p1 js_a11y_comma p2 p3" class="weui-form-preview__bd">
                        <div class="weui-form-preview__item">
                            <label class="weui-form-preview__label">移动</label>
                                {if !empty($ispStatus.api_fast_yd_status)}
                                    <span class="weui-form-preview__value success">正常</span>
                                {else}
                                    <span class="weui-form-preview__value fail">维护</span>
                                {/if}
                        </div>
                        <div class="weui-form-preview__item">
                            <label class="weui-form-preview__label">电信</label>
                                {if !empty($ispStatus.api_fast_dx_status)}
                                    <span class="weui-form-preview__value success">正常</span>
                                {else}
                                    <span class="weui-form-preview__value fail">维护</span>
                                {/if}
                        </div>
                        <div class="weui-form-preview__item">
                            <label class="weui-form-preview__label">联通</label>
                                {if !empty($ispStatus.api_fast_lt_status)}
                                    <span class="weui-form-preview__value success">正常</span>
                                {else}
                                    <span class="weui-form-preview__value fail">维护</span>
                                {/if}
                        </div>
                    </div>
                </div>
                <br>
                <div class="weui-form-preview">
                    <div role="option" class="weui-form-preview__hd">
                        <div class="weui-form-preview__item">
                            <label class="weui-form-preview__label">慢充维护状态</label>
                        </div>
                    </div>
                    <div role="option" aria-labelledby="p1 js_a11y_comma p2 p3" class="weui-form-preview__bd">
                        <div class="weui-form-preview__item">
                            <label class="weui-form-preview__label">移动</label>
                                {if !empty($ispStatus.api_slow_yd_status)}
                                    <span class="weui-form-preview__value success">正常</span>
                                {else}
                                    <span class="weui-form-preview__value fail">维护</span>
                                {/if}
                        </div>
                        <div class="weui-form-preview__item">
                            <label class="weui-form-preview__label">电信</label>
                                {if !empty($ispStatus.api_slow_dx_status)}
                                    <span class="weui-form-preview__value success">正常</span>
                                {else}
                                    <span class="weui-form-preview__value fail">维护</span>
                                {/if}
                        </div>
                        <div class="weui-form-preview__item">
                            <label class="weui-form-preview__label">联通</label>
                                {if !empty($ispStatus.api_slow_lt_status)}
                                    <span class="weui-form-preview__value success">正常</span>
                                {else}
                                    <span class="weui-form-preview__value fail">维护</span>
                                {/if}
                        </div>
                    </div>
                </div>
                {if !empty($successRate0.title)}
                <br>
                <div class="weui-form-preview">
                    <div role="option" class="weui-form-preview__hd">
                        <div class="weui-form-preview__item">
                            <label class="weui-form-preview__label">{$successRate0.title|default=''}</label>
                        </div>
                    </div>
                    <div role="option" aria-labelledby="p1 js_a11y_comma p2 p3" class="weui-form-preview__bd">
                        <div id="p1" class="weui-form-preview__item">
                            <label class="weui-form-preview__label">移动</label>
                            <span class="weui-form-preview__value">{$successRate0.ydRate|default='0%'}</span>
                        </div>
                        <div id="p2" class="weui-form-preview__item">
                            <label class="weui-form-preview__label">电信</label>
                            <span class="weui-form-preview__value">{$successRate0.dxRate|default='0%'}</span>
                        </div>
                        <div id="p3" class="weui-form-preview__item">
                            <label class="weui-form-preview__label">连通</label>
                            <span class="weui-form-preview__value">{$successRate0.ltRate|default='0%'}</span>
                        </div>
                    </div>
                </div>
                {/if}
                {if !empty($successRate1.title)}
                <br>
                <div class="weui-form-preview">
                    <div role="option" class="weui-form-preview__hd">
                        <div class="weui-form-preview__item">
                            <label class="weui-form-preview__label">{$successRate1.title}</label>
                        </div>
                    </div>
                    <div role="option" aria-labelledby="p11js_a11y_comma p2 p3" class="weui-form-preview__bd">
                        <div id="p1" class="weui-form-preview__item">
                            <label class="weui-form-preview__label">移动</label>
                            <span class="weui-form-preview__value">{$successRate1.ydRate|default='0%'}</span>
                        </div>
                        <div id="p2" class="weui-form-preview__item">
                            <label class="weui-form-preview__label">电信</label>
                            <span class="weui-form-preview__value">{$successRate1.dxRate|default='0%'}</span>
                        </div>
                        <div id="p3" class="weui-form-preview__item">
                            <label class="weui-form-preview__label">连通</label>
                            <span class="weui-form-preview__value">{$successRate1.ltRate|default='0%'}</span>
                        </div>
                    </div>
                </div>
                {/if}
            </div>
        </div>


    </div>

    <script src="/static/weui/js/zepto.min.js"></script>
    <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script src="https://res.wx.qq.com/open/libs/weuijs/1.2.1/weui.min.js"></script>
</body>

</html>